<div class="panel panel-default" ng-controller="PassengerDetailCtrl">
	<div class="panel-heading">
		系统管理 / 会员列表 / 乘车人管理
		<span style="float: right;margin-top: -7px;height: 0px">
		 <button type="submit" class="btn m-b-xs w-xs btn-info" ui-sref="app.system.passenger()">返回</button></span>
	</div>
	<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width:10px;">
						<label class="i-checks m-b-none" has-authority="SYSTEM_PASSENGER_CONTACT_DEL">
							<input type="checkbox" ng-model="ckAll" ng-click="checkAll(ckAll,dataList)"><i></i>
						</label>
					</th>
					<th style="width:50px;">姓名</th>
					<th style="width:50px;">手机号</th>
					<th style="width:50px;">身份证</th>
					<th style="width:80px;">
						<center>
							<a href tooltip="添加" has-authority="SYSTEM_PASSENGER_CONTACT_ADD"><i class="fa fa-plus fa-fw m-r-xs" ng-click="write('lg',null,'insert')"></i></a>
							<a href tooltip="批量删除" has-authority="SYSTEM_PASSENGER_CONTACT_DEL"><i class="fa fa-times fa-fw" ng-click="del('sm',c,'deleteAll')" ></i></a>
						</center>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="c in dataList">
					<td>
						<label class="i-checks m-b-none" has-authority="SYSTEM_PASSENGER_CONTACT_DEL">
							<input id="{{c.ic}}" name="checks" type="checkbox" ng-checked="ckAll"
								ng-model="checks" ng-click="check(c.id,checks)" ><i></i>
						</label>
					</td>
					<td>{{c.name}}</td>
					<td>{{c.phone}}</td>
					<td>{{c.idCard}}</td>
					<td>
						<center>
							<a href tooltip="修改" has-authority="SYSTEM_PASSENGER_CONTACT_UPDATE"><i class="fa fa-pencil fa-fw m-r-xs" ng-click="write('lg',c,'update')" ></i></a>
							<a href tooltip="删除" has-authority="SYSTEM_PASSENGER_CONTACT_DEL"><i class="fa fa-times fa-fw" ng-click="del('sm',c,'delete')" ></i></a>
						</center>
					</td>
				</tr>
				<tr ng-show="dataList==''">
					<td colspan="9" style="text-align: center;">该会员暂无乘车人</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer/>
</div>